package com.fausto.learnimprint.common.constant

object JwtConstant {
    //用户名
    const val CLAIM_KEY_USERNAME = "sub"
    //创建时间
    const val CLAIM_KEY_CREATED = "created"
    //角色信息
    const val CLAIM_KEY_ROLES = "roles"

    //过期时间: 3天
    const val EXPIRED_TIME = 3

    //安全密钥
    const val SECRET = "BLOG_SERVER"

    //token前缀
    const val PREFIX = "Token "

    //HTTP头
    const val HEADER = "Authorization"
}